Re: problem with array of boxes

Поиск
Список
Период
Сортировка
От Andre Radke
Тема Re: problem with array of boxes
Дата
Msg-id p05100300b8ba56eb5e10@[192.168.1.5]
обсуждение исходный текст
Ответ на Re: problem with array of boxes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
At 18:01h -0500 16.03.2002, Tom Lane wrote:
>I've finished looking into this, and the short answer is that your input
>is not syntactically correct.  Because type box has typdelim = ';', the
>correct input would have been
>
>INSERT INTO boxarray_test VALUES ('{"(3,3),(1,1)";"(4,4),(2,2)"}');

Thanks! I changed my code to use a semi-colon instead of a comma as
delimiter and that indeed solved my problem.

>This still leaves us with the question of whether it's really a good
>idea that type box has typdelim ';' and not ',' like everything else
>uses.  Anyone have a strong feeling about changing it or not?

I'm relatively new to PostgreSQL, so I don't have a qualified opinion on this.

-Andre


--
Andre Radke + mailto:lists@spicynoodles.net + http://www.spicynoodles.net/

В списке pgsql-general по дате отправления:

Предыдущее
От: Jean-Michel POURE
Дата:
Сообщение: Re: [ODBC] ODBC
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Maintainer(s) for gborg?